package org.springblade.modules.admin.vo.sugar;

import cn.hutool.core.convert.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2021/12/15 9:52
 */
@Data
@ApiModel("执行信息")
public class CarryOutVo {

	@ApiModelProperty("组名称")
	private String groupName;

	@ApiModelProperty("项目名称")
	private String buildingName;

	@ApiModelProperty("完成率")
	private BigDecimal finishRatio = Convert.toBigDecimal(0);

	@ApiModelProperty("及时率")
	private BigDecimal timelinessRatio= Convert.toBigDecimal(0);

	@ApiModelProperty("有效率")
	private BigDecimal effectiveRatio = Convert.toBigDecimal(0);;

	@ApiModelProperty("计划工作量台数")
	private Integer planWorkload = 0;

	@ApiModelProperty("工作量(完成)")
	private Integer finishWorkload = 0;

	@ApiModelProperty("及时數量")
	private Integer timelinessCounts =0;

	@ApiModelProperty("逾期台数")
	private Integer deferredElevatorCounts = 0;

	@ApiModelProperty("平均工作时长")
	private Integer avgWorkMinute = 0;

	@ApiModelProperty("执行信息列表")
	List<CarryOutVo> monthList;

	@ApiModelProperty("评价率")
	private BigDecimal commentRatio;

	@ApiModelProperty(value = "月份202112")
	private Integer month;
}
